package com.zzq.domain.entity;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小布
 * @since 2023-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SmileProductRecord extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 订单编码
     */
    private String productOrderNo;

    /**
     * 拍摄地址id
     */
    private Long prodId;

    /**
     * 摄影师id
     */
    private Long photographerId;

    /**
     * 客户id
     */
    private Long clientId;

    /**
     * 拍摄编号
     */
    private String clientNo;

    /**
     * 总金额
     */
    private BigDecimal amount;

    /**
     * 尾款金额
     */
    private BigDecimal spareAmount;

    /**
     * 定金金额/剩余金额
     */
    private BigDecimal earnestAmount;

    /**
     * 已支付金额
     */
    private BigDecimal payedAmount;

    /**
     * 是否为定金
     */
    private Boolean earnest;

    /**
     * 优惠金额
     */
    private BigDecimal favorableAmount;

    /**
     * 未优惠金额
     */
    private BigDecimal unfavorableAmount;

    /**
     * 是否支付金额
     */
    private Boolean pay;

    /**
     * 支付状态
     */
    private String payStatus;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 预约id
     */
    private Long productAppointmentId;


}
